UCF STIG Viewer Logo

RHEL 9 must use a separate file system for /tmp.


Overview

Finding ID Version Rule ID IA Controls Severity
V-257844 RHEL-09-231015 SV-257844r925519_rule Medium
Description
The "/tmp" partition is used as temporary storage by many programs. Placing "/tmp" in its own partition enables the setting of more restrictive mount options, which can help protect programs that use it.
STIG Date
Red Hat Enterprise Linux 9 Security Technical Implementation Guide 2023-12-01

Details

Check Text ( C-61585r925517_chk )
Verify that a separate file system/partition has been created for "/tmp" with the following command:

$ mount | grep /tmp

tmpfs /tmp tmpfs noatime,mode=1777 0 0

If a separate entry for "/tmp" is not in use, this is a finding.
Fix Text (F-61509r925518_fix)
Migrate the "/tmp" path onto a separate file system.